html {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	margin: 0;
	padding: 0px 0px 0px 0px;
	height: 100%;
	background: #FFFFFF;
}

body,td,th,input,select,textarea,option,optgroup {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
}

input[type='text'] {
	padding: 2px;
}

select {
	padding: 1px;
}

textarea {
	padding: 2px;
}

a,a:visited {
	color: #003366;
	cursor: pointer;
	text-decoration: none;
}

form {
	margin: 0;
	padding: 0;
}

#header {
	height: 56px;
	padding: 0px 30px;
	background: url('../image/header.png') repeat-x;
	min-width: 900px;
}

#header .div1 {
	color: #FFFFFF;
	padding: 20px 0px 0px 0px;
	float: left;
	font-size: 22px;
}

#header .div2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFF;
	text-align: right;
	padding: 14px 0px 0px 0px;
	float: right;
}

#HomeHeader {
	height: 56px;
	padding: 0px 30px;
	background: url('../image/header.png') repeat-x;
	min-width: 900px;
}

#HomeHeader .div1 {
	color: #fff;
	padding: 20px 0px 0px 0px;
	float: left;
	font-size: 22px;
}

#HomeHeader .div2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFF;
	text-align: right;
	padding: 14px 0px 0px 0px;
	float: right;
}

#menu {
	padding: 0;
	min-width: 900px;
}

#content {
	background: #FFFFFF url('../image/background.png') 0px 1px repeat-x;
	padding: 10px 30px 0px 30px;
	min-width: 900px;
}

#container {
	height: 100%;
}

body>#container {
	height: auto;
	min-height: 100%;
}

#footer {
	background: #FFFFFF url('../image/footer.png') repeat-x;
	height: 50px;
	position: relative;
	clear: both;
}

#footer a {
	color: #333;
	text-decoration: underline;
}

.success {
	padding: 15px 0px;
	margin-bottom: 15px;
	background: #E4F1C9;
	border: 1px solid #A5BD71;
	font-size: 12px;
	text-align: center;
}

.warning {
	padding: 15px 0px;
	margin-bottom: 15px;
	background: #FFDFE0;
	border: 1px solid #FF9999;
	font-size: 12px;
	text-align: center;
}

.attention {
	padding: 15px 0px;
	margin-bottom: 15px;
	background: #FEFBCC;
	border: 1px solid #E6DB55;
	font-size: 12px;
	text-align: center;
}

.box {
	margin-bottom: 15px;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 0px;
}

.box>.heading {
	height: 40px;
	background: url('../image/box_center.png') repeat-x;
	margin-bottom: 0px;
}

.box>.left {
	float: left;
	width: 7px;
	height: 40px;
	background: url('../image/box_left.png') no-repeat;
}

.box>.right {
	float: right;
	width: 7px;
	height: 40px;
	background: url('../image/box_right.png') no-repeat;
}

.box>.heading h1 {
	background-position: 2px 9px;
	background-repeat: no-repeat;
	margin: 0px;
	padding: 11px 0px 11px 30px;
	color: #003A88;
	font-size: 16px;
	float: left;
}

.heading2 {
	margin: 0px;
	padding: 0px 0px 10px 0px;
	color: #000;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
}

.box>.heading .buttons {
	float: right;
	padding-top: 8px;
}

.box>.content {
	padding: 10px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	min-height: 300px;
}

.button {
	padding-left: 8px;
	display: inline-block;
	margin-right: 5px;
	background: url('../image/button_left.png') top left no-repeat;
}

.button span {
	color: #FFF;
	display: block;
	padding: 5px 10px 5px 2px;
	background: url('../image/button_right.png') top right no-repeat;
}

.list {
	border-collapse: collapse;
	width: 100%;
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	margin-bottom: 20px;
}

.list2 {
	border-collapse: collapse;
	border: 1px solid #DDDDDD;
	margin-bottom: 20px;
}

.list2 thead td {
	background-color: #EFEFEF;
	padding: 5px;
	border-bottom: 1px solid #DDDDDD;
}

.list td {
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
}

.list thead td {
	background-color: #EFEFEF;
	padding: 0px 5px;
}

.list thead td a,.list thead td {
	text-decoration: none;
	color: #222222;
	font-weight: bold;
}

.list tbody a {
	text-decoration: underline;
}

.list tbody td {
	vertical-align: middle;
	padding: 0px 5px;
}

.list tbody tr:odd {
	background: #FFFFFF;
}

.list tbody tr:even {
	background: #E4EEF7;
}

.list .left {
	text-align: left;
	padding: 7px;
}

.list .right {
	text-align: right;
	padding: 7px;
}

.list .center {
	text-align: center;
	padding: 7px;
}

.list .asc {
	padding-right: 15px;
	background: url('../image/asc.png') right center no-repeat;
}

.list .desc {
	padding-right: 15px;
	background: url('../image/desc.png') right center no-repeat;
}

.list .filter td {
	padding: 5px;
	background: #E7EFEF;
}

/*List Show*/
.listshow {
	border-collapse: collapse;
	width: 70%;
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	margin: auto auto 20px auto;
	padding: 0px;
}

.listshow td {
	border-right: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
}

.listshow thead td {
	background-color: #EFEFEF;
	padding: 0px 5px;
}

.listshow thead td a,.list thead td {
	text-decoration: none;
	color: #222222;
	font-weight: bold;
}

.listshow tbody a {
	text-decoration: underline;
}

.listshow tbody td {
	vertical-align: middle;
	padding: 0px 5px;
}

.listshow tbody tr:odd {
	background: #FFFFFF;
}

.listshow tbody tr:even {
	background: #E4EEF7;
}

.listshow .left {
	text-align: left;
	padding: 7px;
}

.listshow .right {
	text-align: right;
	padding: 7px;
}

.listshow .center {
	text-align: center;
	padding: 7px;
}

.listshow .asc {
	padding-right: 15px;
	background: url('../image/asc.png') right center no-repeat;
}

.listshow .desc {
	padding-right: 15px;
	background: url('../image/desc.png') right center no-repeat;
}

.listshow .filter td {
	padding: 5px;
	background: #E7EFEF;
}

.pagination {
	margin-top: 30px;
	border-top: 1px solid #EEEEEE;
	background: #F8F8F8;
	display: inline-block;
	width: 100%;
}

.pagination .links,.pagination .results {
	padding: 9px;
}

.pagination .links {
	float: left;
}

.pagination .links a {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
}

.pagination .links b {
	border: 1px solid #CCCCCC;
	padding: 4px 7px;
	text-decoration: none;
	color: #000000;
	background: #FFFFFF;
}

.pagination .results {
	float: right;
}

.form {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0px;
}

table.form tr td:first-child {
	width: 200px;
}

.form>*>*>td {
	padding: 10px;
	color: #000000;
	border-bottom: 1px dotted #CCCCCC;
}

.help {
	color: #999;
	font-size: 10px;
	font-weight: normal;
	font-family: Verdana, Geneva, sans-serif;
	display: block;
}

.required {
	color: #FF0000;
	font-weight: bold;
}

.error {
	color: #FF0000;
	padding-top: 3px;
	display: block;
	font-size: 12px;
	font-weight: normal;
}

.scrollbox {
	border: 1px solid #CCCCCC;
	width: 350px;
	height: 100px;
	background: #FFFFFF;
	overflow-y: scroll;
}

.htabs {
	padding: 0px 0px 0px 10px;
	height: 30px;
	border-bottom: 1px solid #DDDDDD;
	margin-bottom: 15px;
}

.htabs a {
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	border-right: 1px solid #DDDDDD;
	background: #FFFFFF url('../image/tab.png') repeat-x;
	padding: 6px 15px 7px 15px;
	float: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	color: #000000;
	margin-right: 2px;
}

.htabs a.selected {
	padding-bottom: 8px;
	background: #FFFFFF;
}

.vtabs {
	width: 180px;
	padding: 10px 0px;
	min-height: 300px;
	float: left;
	display: block;
	border-right: 1px solid #DDDDDD;
}

.vtabs a {
	display: block;
	float: left;
	width: 150px;
	margin-bottom: 5px;
	clear: both;
	border-top: 1px solid #DDDDDD;
	border-left: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	background: #F7F7F7;
	padding: 6px 14px 7px 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	text-decoration: none;
	color: #000000;
}

.vtabs a.selected {
	padding-right: 15px;
	background: #FFFFFF;
}

.vtabs_page {
	margin-left: 195px;
}

.scrollbox div {
	padding: 3px;
}

.scrollbox div input {
	margin: 0px;
	padding: 0px;
	margin-right: 3px;
}

.scrollbox div.even {
	background: #FFFFFF;
}

.scrollbox div.odd {
	background: #E4EEF7;
}

ul[id ^="thaicss-nav"]:after {
	content: " ";
	display: block;
	clear: both;
}

ul[id $="horizontal"]>li {
	float: left;
	font-size: 14px;
	width: 120px;
	position: relative;
	background: #f2f2f2;
	border-left: solid 1px #ccc;
	list-style-type: none;
}

ul[id $="horizontal"]>li:first-child {
	border-left: none;
}

ul[id|="thaicss-nav"]>li>a,ul[id|="thaicss-nav"]>li:hover>ul>li>a {
	display: block;
	line-height: 30px;
}

ul[id|="thaicss-nav"]>li>a {
	text-align: center;
	color: #333;
}

ul[id|="thaicss-nav"]>li:hover>ul>li>a {
	color: #FFF;
}

ul[id|="thaicss-nav"]>li:hover>a,ul[id|="thaicss-nav"]>li:hover>ul>li:hover>ul>li>a
	{
	color: #CCC;
}

ul[id|="thaicss-nav"]>li:hover,ul[id|="thaicss-nav"]>li>ul,ul[id|="thaicss-nav"]>li:hover>ul>li>ul
	{
	background: #666;
}

ul[id|="thaicss-nav"]>li:hover>ul>li:hover,ul[id|="thaicss-nav"]>li:hover>ul>li:hover>ul>li:hover
	{
	background: #444;
}

ul[id $="horizontal"]>li>ul,ul[id $="horizontal"]>li:hover>ul>li>ul {
	visibility: hidden;
	position: absolute;
	width: 170px;
	list-style-type: none;
	text-decoration: none;
	padding: 0;
	margin: 0;
}

ul[id|="thaicss-nav"]>li:hover>ul,ul[id|="thaicss-nav"]>li:hover>ul>li:hover>ul
	{
	visibility: visible;
}

ul[id|="thaicss-nav"]>li:hover>ul>li,ul[id|="thaicss-nav"]>li:hover>ul>li:hover>ul>li
	{
	line-height: 25px;
	padding-left: 3px;
	border-bottom: solid 1px #555;
	border-top: solid 1px #999;
}

ul[id $="horizontal"]>li:hover>ul>li:hover>ul {
	left: 170px;
	margin-top: -25px;
}

/* Start แบ่งหน้า ajax */
.browse_page{
	clear:both;
	margin-left:12px;
	height:35px;
	margin-top:5px;
	display:block;
}
.browse_page a,.browse_page a:hover{
	display:block;
	height:18px;
	width:18px;
	font-size:10px;
	float:left;
	margin-right:2px;
	border:1px solid #CCCCCC;
	background-color:#F4F4F4;
	color:#333333;
	text-align:center;
	line-height:18px;
	font-weight:bold;
	text-decoration:none;
}
.browse_page a:hover{
	border:1px solid #0A85CB;
	background-color:#0A85CB;
	color:#FFFFFF;
}
.browse_page a.selectPage{
	display:block;
	height:18px;
	width:18px;
	font-size:10px;
	float:left;
	margin-right:2px;
	border:1px solid #0A85CB;
	background-color:#0A85CB;
	color:#FFFFFF;
	text-align:center;
	line-height:18px;
	font-weight:bold;
}
.browse_page a.SpaceC{
	display:block;
	height:18px;
	width:18px;
	font-size:10px;
	float:left;
	margin-right:2px;
	border:0px dotted #0A85CB;
	font-size:11px;
	background-color:#FFFFFF;
	color:#333333;
	text-align:center;
	line-height:18px;
	font-weight:bold;
}
.browse_page a.naviPN{
	width:50px;
	font-size:12px;
	display:block;
	height:18px;
	float:left;
	border:1px solid #0A85CB;
	background-color:#0A85CB;
	color:#FFFFFF;
	text-align:center;
	line-height:18px;
	font-weight:bold;	
}
/* End แบ่งหน้า ajax */

.require{
	height:20px;
	color:#FF0000;
	padding-left:5px;
	padding-right:5px;
	font-size:12px;
	line-height:15px;
	width:100px;
	float:none;
}